From 3ab5fb9a9eeb2b610d5d74419e0b1ffaf18484f2 Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Fri, 2 Sep 2016 17:41:41 +0800 Subject: [PATCH] xen/arm: smpboot: drop unneeded code when identifying cpuinfo The current_cpu_data indicates the cpuinfo for the current cpu. There is no need to fill the current_cpu_data from boot_cpu_data, because the following call to identify_cpu will override it. Signed-off-by: Peng Fan Acked-by: Julien Grall Acked-by: Stefano Stabellini --- xen/arch/arm/smpboot.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/arch/arm/smpboot.c b/xen/arch/arm/smpboot.c index d56b91d519..90ad1d0347 100644 --- a/xen/arch/arm/smpboot.c +++ b/xen/arch/arm/smpboot.c @@ -288,7 +288,6 @@ void start_secondary(unsigned long boot_phys_offset, set_processor_id(cpuid); - current_cpu_data = boot_cpu_data; identify_cpu(¤t_cpu_data); init_traps(); -- 2.30.2